<template>
  <a-layout class="jm-debug-layout">
    <list />
    <a-layout>
      <a-layout-content>
        <router-view></router-view>
      </a-layout-content>
    </a-layout>
  </a-layout>
</template>

<script>

import List from './List'
import xmls from '../entry'

export default {
  components: {
    List
  },
  data() {
    return {
      xmls
    }
  },
  provide() {
    return {
      jmProvide: this
    }
  },
  methods: {
    log(...args) {
      console.log(...args)
    },
    error(...args) {
      console.error(...args)
    },
    warn(...args) {
      console.warn(...args)
    }
  },
  async beforeCreate() {

  }
}
</script>

<style lang='less'>
  .jm-debug-layout {
    min-width: 100vw;
    min-height: 100vh;

    &-sider {
      min-height: 100vh;
      overflow: auto;
    }
  }
</style>